# -*- coding: utf-8 -*-

"""
@author: Laowang
@contact: QQ:1125564921
@Created on: 2022/6/21
@Remark: 
"""

from framework_strategy.gopy.gateways.cache import overloadcls
from framework_strategy.gopy.gateways.settings import FTXAPISETTING
# FTX 平台


@overloadcls
class FtxPlatConfig:

    Domain = {
        "pro": FTXAPISETTING.API_DOMAIN_PRO,
        "dev": FTXAPISETTING.API_DOMAIN_DEV,
        "test": FTXAPISETTING.API_DOMAIN_TEST,
    }

    GET_MARKET_CONFIG = '^markets$'
    GET_DEPTH = 'markets/(.*)/orderbook.*'
    GET_TICKER = 'markets/([a-z]+/[a-z]+)'
    GET_TRADE = '/markets/([a-z]+/[a-z]+)/trades'
